// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config

// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

module.exports = {
  siteName: 'work-blog-width-gridsome',
  plugins: [
		{
			use: '@gridsome/source-filesystem',
			options: {
				path: './content/blog/**/*.md',
				typeName: 'BlogPost'
			}
		},
		{
			use: '@gridsome/source-strapi',
			options: {
				apiURL: 'http://localhost:1337',
        queryLimit: 1000, // Defaults to 100
        contentTypes: ['post', 'fruit'],
        // singleTypes: ['impressum'],
        // loginData: {
        //   identifier: '',
        //   password: ''
        // }
			}
		}
	]
}
